import request from './request';

export async function getList(data: {
  password: string;
  username: string;
}): Promise<RequestFormatResultType<any>> {
  const res = await request('/[APP-NAME]/api/admin/user/login', {
    method: 'POST',
    data,
  });
  return res;
}